<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>选择倾向</title>
    <link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/bootstrap/css/bootstrap-submenu.css">

<!--<script type="text/javascript" src="js/sweetalert.min.js"></script>-->
<!--<script type="text/javascript" src="js/publicSection.js"></script>-->


<style type="text/css">
    
     
        /* 修改选择专业的样式 */
        
.shubiaoshou{
         
            font-size: 15px;
            margin-top: 20px;
           font-weight:normal;
           cursor: pointer;
        }


   cursor:pointer;
}       
           ul li {
            display: block;
            line-height: 30px;
        }

    </style>
</head>
<body>
		<!--头部引用  -->
	<div class="container" id="frontTop"></div>
<div class="container">
<!--选择省份  -->
    <div class="container"  style="border: solid black 1px">
        <ul >
  <li>
      <div style="border: solid black 1px ; ">
      <h2 class="text-center">选择你想报考的省份</h2>
      </div>
  </li>
  <li>
                <div class="container" style=" margin-top: 30px;  font-size: 15px;   border: solid black 1px">
               		<div class="container row " style="margin-top: 20px" > 
                <label class="checkbox-inline col-md-1 offset-1">
                    <input type="checkbox" name="citys" id="inlineCityCheckbox1" value="北京"> 北京
                </label>
                 <label class="checkbox-inline col-md-1">
                        <input type="checkbox"  name="citys" id="inlineCityCheckbox2" value="天津"> 天津
                  </label>
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox"  name="citys" id="inlineCityCheckbox3" value="上海"> 上海
                    </label>
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox"  name="citys" id="inlineCityCheckbox4" value="重庆"> 重庆
                    </label>
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox5" value="河北"> 河北
                    </label>
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox6" value="河南"> 河南
                    </label>
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox7" value="云南"> 云南
                    </label>
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox8" value="山西"> 山西
                    </label>
                    
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox9" value="辽宁"> 辽宁
                    </label>
                     </div>
                       <div class="container row " style="margin-top: 10px" > 
                    <label class="checkbox-inline col-md-1 offset-1" style="padding-right: 0">
                        <input type="checkbox" name="citys"  id="inlineCityCheckbox10" value="黑龙江"> 黑龙江
                    </label>
                    <label class="checkbox-inline col-md-1" >
                        <input type="checkbox" name="citys" id="inlineCityCheckbox11" value="湖南"> 湖南
                    </label>
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox12" value="安徽"> 安徽
                    </label>                                  
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox13" value="山东"> 山东
                    </label>
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox14" value="新疆"> 新疆
                    </label>
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox15" value="江苏"> 江苏
                    </label>
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox16" value="浙江"> 浙江
                    </label>
                    
                    <label class="checkbox-inline col-md-1" style="padding-right: 0">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox17"  value="内蒙古"> 内蒙古
                    </label>
                    <label class="checkbox-inline col-md-1" >
                        <input type="checkbox" name="citys" id="inlineCityCheckbox18"  value="陕西"> 陕西
                    </label>
                      </div>
                      <div class="container row "  style="margin-top: 10px"> 
                    <label class="checkbox-inline col-md-1 offset-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox19" value="吉林"> 吉林
                    </label>
                 
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox20" value="福建"> 福建
                    </label>
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox21" value="贵州"> 贵州
                    </label>
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox22" value="广东 "> 广东            
                     </label>
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" id="inlineCityCheckbox23" value="青海"> 青海
                    </label>
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox24" value="西藏"> 西藏
                    </label>                   
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox25" value="四川"> 四川
                    </label>
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox26" value="宁夏"> 宁夏
                    </label>
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox27" value="海南"> 海南
                    </label>
                    </div>
                    <div class="container row " style="margin-bottom: 20px ;margin-top: 10px" > 
                    <label class="checkbox-inline col-md-1 offset-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox28" value="台湾"> 台湾
                    </label>
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox29" value="香港"> 香港
                    </label>
                    <label class="checkbox-inline col-md-1">
                        <input type="checkbox" name="citys" id="inlineCityCheckbox30" value="澳门"> 澳门
                    </label>
                    </div>
                </div>
            </li>
        </ul>
    </div>

<!--选择专业  -->
    <div class="container"  style="font-size: 15px; border: solid black 1px;margin-top: 100px">
        <ul >
            <li>
                <div style="border: solid black 1px ; ">
                    <h2 class="text-center">选择你想报考的专业</h2>
                </div>
            </li>
            <li>
                <div class="row">
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors" id="inlineMajorCheckbox1" value="计算机类">计算机类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox2" value="化工与制药类">化工与制药类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox3" value="哲学类">哲学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox4" value="经济学类">经济学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox5" value="财政学类">财政学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox6" value="金融学类">金融学类
                    </label>
                </div>

                <div class="row">
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox11" value="经济与贸易类">经济与贸易类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox12" value="法学类">法学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox13" value="政治学类">政治学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox14" value="社会学类">社会学类
                    </label>
                    <label class="shubiaoshou  col-md-2" style="font-size:14px">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox15" value="马克思主义理论学习">马克思主义理论学习
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox"  name="Majors" id="inlineMajorCheckbox16" value="公安学类">公安学类
                    </label>
                  
                </div>

                <div class="row">
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox21" value="中国语言文学类">中国语言文学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox22" value="外国文学文学类">外国文学文学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox"  name="Majors" id="inlineMajorCheckbox23" value="新闻传播学类">新闻传播学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox24" value="历史学类">历史学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox25" value="数学类">数学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox26" value="物理学类">物理学类
                    </label>
                </div>

                <div class="row">
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox31" value="化学类">化学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox32" value="力学类">力学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox33" value="机械类">机械类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox34" value="能源动力类">能源动力类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox35" value="电气类">电气类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox36" value="电子信息类">电子信息类
                    </label>

                </div>

                <div class="row">
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox41" value="自动化类">自动化类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox42" value="土木类">土木类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox43" value="地质类">地质类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox44" value="矿业类">矿业类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox45" value="纺织类">纺织类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox46" value="轻工类">轻工类
                    </label>
                </div>

                <div class="row">
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox51" value="交通运输类">交通运输类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox52" value="海洋工程类">海洋工程类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox53" value="航空航天类">航空航天类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox54" value="武器类">武器类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox55" value="核工程类">核工程类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox56" value="农业工程类">农业工程类
                    </label>
                </div>

                <div class="row">
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox61" value="林业工程类">林业工程类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox62" value="林业工程类">林业工程类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox63" value="环境科学与工程类">环境科学与工程类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox64" value="生物医学工程类">生物医学工程类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox65" value="食品科学与工程类">食品科学与工程类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox66" value="公安技术类">公安技术类
                    </label>
                </div>

                <div class="row">
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox71" value="基础医学类">基础医学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox72" value="临床医学类">临床医学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox73" value="口腔医学类">口腔医学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox74" value="中医学类">中医学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox75" value="中西医结合类">中西医结合类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox76" value="药学类">药学类
                    </label>
                </div>
                <div class="row">
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox81" value="中药学类">中药学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox82" value="法医学类">法医学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox83" value="医学技术类">医学技术类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox84" value="护理学类">护理学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox85" value="管理科学与工程类">管理科学与工程类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox86" value="工商管理类">工商管理类
                    </label>
                </div>
                <div class="row">
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox91" value="公共管理类">公共管理类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox92" value="物流管理与工程类">物流管理与工程类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox"  name="Majors" id="inlineMajorCheckbox93" value="电子商务类">电子商务类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox94" value="旅游管理类">旅游管理类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox95" value="艺术学理论类">艺术学理论类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckbox96" value="音乐与舞蹈学类">音乐与舞蹈学类
                    </label>
                </div>

                <div class="row">
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckboxA1" value="戏剧与影视类">戏剧与影视类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckboxA2" value="美术学类">美术学类
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckboxA3" value="设计学类">设计学类
                    </label>
 					 <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="Majors"  id="inlineMajorCheckboxA4" value="教育学类">教育学类
                    	</label>
                </div>


            </li>
        </ul>
    </div>
<!-- 选择院校类别 -->
    <div class="container"  style="font-size: 15px; border: solid black 1px;margin-top: 100px">
        <ul >
            <li>
                <div style="border: solid black 1px ; ">
                    <h2 class="text-center">院校类别</h2>
                </div>
            </li>
            <li>
                <div class="row">
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="collegeCategory" id="inlineUniversityCheckbox1" value="985院校">985院校
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="collegeCategory" id="inlineUniversityCheckbox2" value="211院校">211院校
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="collegeCategory" id="inlineUniversityCheckbox3" value="自主招生">自主招生
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="collegeCategory" id="inlineUniversityCheckbox4" value="研究生院校">研究生院校
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="collegeCategory" id="inlineUniversityCheckbox5" value="国防生">国防生
                    </label>
                    <label class="shubiaoshou col-md-2">
                        <input type="checkbox" name="collegeCategory" id="inlineUniversityCheckbox6" value="卓越计划">卓越计划
                    </label>
                </div>
            </li>
        </ul>
    </div>
    
    <div class="container text-center" style="margin-top: 50px;margin-bottom: 50px" >
    <input class="btn btn-primary" type="button" onclick="shengchengzhiyuanbiao()" style="width: 150px;height: 40px;font-size: 20px"  value="智能生成志愿表">
    </div>
</div>
 	<!--底部信息  -->
	<div class="container" id="frontBottom"></div>
<script src="/js/jquery-3.3.0.js"></script>
<script src="/layui/layui.js"></script>
<script src="/js/core.util.js"></script>
<script src="/bootstrap/bootstrap.min.js"></script>

<script>
    $("#frontTop").load("/index/frontTop");
    $("#frontBottom").load("/index/frontBottom");

    function shengchengzhiyuanbiao()
	{
		var citys = document.getElementsByName("citys");
		var Majors = document.getElementsByName("Majors");
		var collegeCategory =document.getElementsByName("collegeCategory");
		
		//选择的城市
		for(var i=0;i<citys.length;i++)
			{
				if(citys[i].checked){
				//alert(citys[i].value);	
				//数据库
				}					
			}
		//选择的专业
		for(var i=0;i<Majors.length;i++)
		{
			if(Majors[i].checked){
			//alert(Majors[i].value);	
			//数据库
			}					
		}
		
		//选择的院校类别
		for(var i=0;i<collegeCategory.length;i++)
		{
			if(collegeCategory[i].checked){
			//alert(collegeCategory[i].value);	
			//数据库
			}					
		}
		// 获取会话中用户的文理科类别和分数
        var storage = window.sessionStorage;
        // var sutject = storage.getItem("subject");
        // var grade = storage.getItem("grade");
        // var category = 0;
        // if (sutject == "文科") {
        //     category = 1
        // }
        // dataJson={
        //     category:category,
        //     score:grade,
        // };
        // layui.use(['jquery', 'form'], function () {
        //     CoreUtil.sendAjax("/v1/fillcee/voluntaryForm", JSON.stringify(dataJson), function(res) {
        //         alert(res.data)
        //         var unversity = res.data;
        //         storage.setItem(unversity)
        //         window.location.href="/navigation/voluntaryForm"
        //     },"POST",false);
        // });
        var sutject = storage.getItem("subject");
        var grade = storage.getItem("grade");
        var category = 0;
        if (sutject == "文科") {
            category = 1
        }
        dataJson={
            category:category,
            score:grade,
        };
        // var universityScore;
        // layui.use(['jquery', 'form'], function () {
        //     CoreUtil.sendAjax("/v1/fillcee/voluntaryForm", JSON.stringify(dataJson), function(res) {
        //         // alert(res.data)
        //         // var universityScore = res.data;
        //         // alert(universityScore.schoolName1)
        //         storage.setItem("universityScore", res.data)
        //         window.location.href="/navigation/voluntaryForm"
        //     },"POST",false);
        // });
        window.location.href="/navigation/voluntaryForm"
	}
	
</script>
</body>
</html>